#define _CRT_SECURE_NO_WARNINGS 1
#include "Queue.h"
int main()
{
	Queue pq;
	QueInit(&pq);
	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePush(&pq, 4);
	QueuePush(&pq, 5);
	QueuePop(&pq);
	printf("%d\n", QueueFront(&pq));
	printf("%d\n", QueueBack(&pq));
	while (!QueueEmpty(&pq))
	{
		printf("%d->", QueueFront(&pq));
		QueuePop(&pq);
	}
	printf("\n%d\n", QueueEmpty(&pq));
	printf("%d\n", QueueSize(&pq));
	QueueDistory(&pq);
}